#include "dxstdafx.h"
#include "MyMath.h"

MyMath::MyMath(void)
{
}

MyMath::~MyMath(void)
{
}

int MyMath::MyRound(float indata, int precision)
{   
	if   ( indata > 0.00f )     
		return (int)(indata+0.5f);   
	else     
		return (int)(indata-0.5f);   
} 